package com.sky.cloudbabaapplication.annotation;

import org.apache.dubbo.config.annotation.Reference;

import java.lang.annotation.*;

@Target({ElementType.FIELD, ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Reference
public @interface IResource {

    String url() default "";

    int callbacks() default 0;

    int retries() default 2;

    String loadbalance() default "";

    boolean async() default false;

    int timeout() default 0;

    String protocol() default "";
}
